package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cuser.business.entity.po.BExamRule;

public interface IExamRuleDao {
	public Boolean checkExist(String name) throws SQLException;
	
	BExamRule findById(String examRuleId);
	
	Integer delete(String examRuleId);
	
	BExamRule save(BExamRule entity) throws SQLException;
	
	void modify(BExamRule entity) throws SQLException;
	
	PageData<BExamRule> findByPage(String hql, Object[] params, LinkedHashMap<String, String> orderMap) throws SQLException;
	
	public PageData<BExamRule> getExamRuleList(String storeCode,LinkedHashMap<String, String> orderMap) throws SQLException;
	
	PageData<BExamRule> getExamRulePageByStoreCode(String storeCode,Integer pageNum,Integer pageSize) throws SQLException;
}
